#include "OI.h"

OI::OI() 
{
	//joystickLeft = new Joystick(LEFT_JOYSTICK);
	//joystickRight = new Joystick(RIGHT_JOYSTICK);
	joystickChassis = new Joystick(CHASSIS_JOYSTICK);
}

bool OI::getChassisNormalButton()
{
	//return joystickLeft->GetRawButton(CHASSIS_N_BUTTON);
}

bool OI::getChassisSlowButton()
{
	//return joystickLeft->GetRawButton(CHASSIS_S_BUTTON);
}

bool OI::getChassisBalanceButton()
{
	//return joystickLeft->GetRawButton(CHASSIS_B_BUTTON);
}

bool OI::getLifterForwardButton()
{
	//return joystickRight->GetRawButton(LIFTER_F_BUTTON);
}

bool OI::getLifterReverseButton()
{
	//return joystickRight->GetRawButton(LIFTER_R_BUTTON);
}

bool OI::getLifterStopButton()
{
	//return joystickRight->GetRawButton(LIFTER_S_BUTTON);
}

bool OI::getConveyerForwardButton()
{
	//return joystickLeft->GetRawButton(CONVEYER_F_BUTTON);
}

bool OI::getConveyerReverseButton()
{
	//return joystickLeft->GetRawButton(CONVEYER_R_BUTTON);
}

bool OI::getConveyerStopButton()
{
	//return joystickLeft->GetRawButton(CONVEYER_S_BUTTON);
}

bool OI::getRollerForwardButton()
{
	//return joystickRight->GetRawButton(ROLLER_F_BUTTON);
}

bool OI::getRollerReverseButton()
{
	//return joystickRight->GetRawButton(ROLLER_R_BUTTON);
}

bool OI::getRollerStopButton()
{
	//return joystickRight->GetRawButton(ROLLER_S_BUTTON);
}


bool OI::getFireButton()
{
	//return joystickRight->GetRawButton(FIRE_BUTTON);
}

float OI::getDriveLeftAxis()
{
	//return joystickLeft->GetRawAxis(DRIVE_L_AXIS);
	return -(joystickChassis->GetRawAxis(DRIVE_L_AXIS));
}

float OI::getDriveRightAxis()
{
	//return joystickRight->GetRawAxis(DRIVE_R_AXIS);
	return -(joystickChassis->GetRawAxis(DRIVE_R_AXIS));
}

float OI::getTurretAxis()
{
	//return joystickLeft->GetRawAxis(TURRET_AXIS);
}

float OI::getLauncherAxis()
{
	//return joystickRight->GetRawAxis(LAUNCHER_AXIS);
}
